//
//  myLoadTableViewCell.m
//  projectA_kuaiZuiManHua
//
//  Created by mk on 15-3-23.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "myLoadTableViewCell.h"

@implementation myLoadTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)dealloc
{
    [_myImageView release];
    [_titleLabel release];

    [super dealloc];
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myImageView = [[UIImageView alloc]init];
        self.myImageView.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        
        self.titleLabel = [[UILabel alloc]init];
        self.titleLabel.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:self.titleLabel];
        [_titleLabel release];
       }
    
    return self;
    
}

-(void)layoutSubviews
{   [super layoutSubviews];
    self.myImageView.frame = CGRectMake(4, 4, 100, 112);
    self.titleLabel.frame = CGRectMake(108, 50, 100, 25);

}

@end
